 

package com.zdkj.subway.rca.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdkj.subway.rca.entity.SwCkBankCashPaymentNoteTmp;

import javax.servlet.http.HttpServletResponse;
import java.io.File;


/**
 * 银行现金缴款单临时表
 *
 * @author stw
 * @date 2020-12-10 10:55:09
 */
public interface SwCkBankCashPaymentNoteTmpService extends IService<SwCkBankCashPaymentNoteTmp> {
    /**
     * excel解析后保存
     * @param file  导入Excel文件
     * @param tradeDate  交易日期
     * @return
     * @throws Exception
     */
	Boolean saveBatchWithExcel(final File file,String tradeDate) throws Exception;
    /**
     * excel解析后保存
     * @param file 导入Excel文件
     * @param beginDate  开始日期
     * @param endDate   结束日期
     * @return
     * @throws Exception
     */
	Boolean saveBatchWithExcel(final File file,String beginDate,String endDate) throws Exception;
    /**
     * 根据创建人保存数据
     * @param creatorId
     */
	void saveBatchWithExcelOk(Integer creatorId);
    /**
     * 根据创建人取消导入数据
     * @param creatorId
     */
	void saveBatchWithExcelCancel(Integer creatorId);
    /**
     * excel模版文件导出
     * @param response
     */
    void exportTamplates(HttpServletResponse response);
}
